package com.lin.learning.questionmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.learning.questionmanagement.vo.TeacherVo;
import com.our.learning.infrastructure.po.Teacher;

public interface TeacherMapper extends BaseMapper<Teacher> {
    boolean deleteByTeacher_id(Integer teacher_id);
    TeacherVo selectByTeacher_id(Integer teacherId);
    boolean updateByTeacher_id(Integer teacher_id,String name,Integer major_id,Integer class_id);
    TeacherVo selectByTeacher_name(String name);
}

